Skip to content

Conversation

@floriankozikowski
Copy link
Contributor

@floriankozikowski floriankozikowski commented Apr 15, 2025

Context of the PR

Contributions of the PR

new theme (more similar to other scikit websites)
Custom theme colors introduced via style.css and conf.py
• Attempt to fully override all default purple values in Bootstrap, PyData Sphinx Theme, and Sphinx Design System
• Updated inline code styling to reflect brand colors
• Reviewed all :root CSS tokens and added scoped --pst-color-primary variables

Checks before merging PR

  • change json_url to work not only in circle.ci for version switcher

@@ -0,0 +1,6 @@
__version__ = '0.4dev'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@floriankozikowski those files should not be committed, delete build/lib and and it to .gitignore

.DS_Store Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this file and ignore it

doc/.DS_Store Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

Copy link
Collaborator

@Badr-MOUFAD Badr-MOUFAD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mega job @floriankozikowski 💪

I love the new look of the doc! So excited to see the finished version

"version_dropdown": True,
"switcher": {
# NOTE: must be a URL and not a path relative to doc
"json_url": "https://raw.githubusercontent.com/floriankozikowski/skglm/refs/heads/documentation-update/doc/_static/switcher.json",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the json_url must be a URL not a path in doc folder
c.f. https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/version-dropdown.html#configure-switcher-json-url

once we merge this PR, we will change it,
this one is a work-around to check that the switcher renders/works as expected

@QB3
Copy link
Collaborator

QB3 commented Apr 28, 2025

Congratulations on the job @floriankozikowski
I love the new look of the doc as well.
Everything renders correctly on my side.

@mathurinm mathurinm merged commit af83e70 into scikit-learn-contrib:main Apr 28, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants